package com.zhiyun.mapper;

import com.zhiyun.domain.LeaveMsg;

import java.util.List;

public interface LeaveMsgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LeaveMsg record);

    LeaveMsg selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(LeaveMsg record);

    List<LeaveMsg> selectByUserId(int userId);

    List<LeaveMsg> selectWithNull();
}